[NTG-context] Re: wrong spacing after command with optional arguments

2024-04-26 Thread Pablo Rodriguez via ntg-context
the number of > argument passed. Many thanks for explaining this too. >> But what are these "#_" (which don’t seem to come from TeX)? > > Hans added many additions to command parameters in Luametatex and #_ > means the argument to a commands has to be enclosed in braces

[NTG-context] Re: wrong spacing after command with optional arguments

2024-04-26 Thread Wolfgang Schuster
see #_ instead of #1. There is no way to search for "#_" in the wiki. Grepping the source, "#_" seems to be used for optional arguments (mainly in syst-aux.mkxl). But what are these "#_" (which don’t seem to come from TeX)? Hans added many additions to co

[NTG-context] Re: start/stopregister

2024-04-25 Thread Henning Hraban Ramm
Am 25.04.24 um 15:44 schrieb Thomas A. Schmitz: Hi all, has \startregister been superseded in luametatex or is it not yet implemented? I tried to read strc-reg.lmt but couldn't figure out what is going on. The following silly minimal test produces the expected result with mkiv

[NTG-context] start/stopregister

2024-04-25 Thread Thomas A. Schmitz
Hi all, has \startregister been superseded in luametatex or is it not yet implemented? I tried to read strc-reg.lmt but couldn't figure out what is going on. The following silly minimal test produces the expected result with mkiv but not in mkxl. All best Thomas \setuppapersize [A6

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-16 Thread Henning Hraban Ramm
over new frontiers: NTS, MetaFun, Oriental TeX, LuaTeX, mplib, LuaMetaTeX… They’re also dubbed the incisors (AKA cutting edge) of the dinosaur of Open Source. ConTeXt is aimed at creative users, known for advanced features like extensive font control and direct XML processing, with a deep

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-14 Thread Martin Hasoň
can get inspired. Everything works as it should: ``` $ docker run --rm -it minidocks/context --luatex --version resolvers | globbing | confusing filename, name: 'CHANGELOG.md', lower: 'changelog.md', already: 'ChangeLog.md' mtx-context | redirect luametatex -> luatex: luatex --luao

[NTG-context] Re: Unknown units es and dk

2024-03-23 Thread Wolfgang Schuster
] The units "es" and "dk" are unknown to me. What does they mean? Regarding the dk unit: https://tug.org/TUGboat/tb42-3/tb132hagen-dk.pdf A quote from the Luametatex source regarding the es unit: The Edith and Tove were introduced at BachoTeX 2023 and because the error message

[NTG-context] Re: how to include an an svg file?

2024-03-16 Thread Jean-Pierre Delange
re > sectioning > chapter @ level 2 : 0.1 -> MetaPost pages > flushing realpage 1, userpage 1, subpage 1 metapost> initializing instance 'metafun:1' using format 'metafun' and method 'double' metapost> loading 'metafun' as 'C:/Users/adeim/

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Wolfgang Schuster
Hans Hagen schrieb am 06.03.2024 um 21:38: On 3/6/2024 7:50 PM, Wolfgang Schuster wrote: The semicolon is a undocumented extension (I noticed it in the definition of \page[quadruple]) of \numexpr in Luametatex for the modulus operator. One of these days I have to write the pending section

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Hans Hagen
On 3/6/2024 7:50 PM, Wolfgang Schuster wrote: The semicolon is a undocumented extension (I noticed it in the definition of \page[quadruple]) of \numexpr in Luametatex for the modulus operator. One of these days I have to write the pending section in th elow level manual and also explain

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Wolfgang Schuster
which is shorter than writing "\ifnum ... = 0". The semicolon is also mysterious to me, I don’t know what it does there in plain language. The semicolon is a undocumented extension (I noticed it in the definition of \page[quadruple]) of \numexpr in Luametatex for the modulus operator

[NTG-context] Re: missing metadata in LMTX

2024-03-05 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 04.03.2024 um 07:17: On 3/4/24 01:18, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 03.03.2024 um 20:02: [...] With LuaTeX, I get PDF metadata. With LuaMetaTeX, I cannot get them. [...] I can confirm the issue and it happens

[NTG-context] Re: issue mixing font features (LMTX & MkIV)

2024-03-05 Thread Pablo Rodriguez via ntg-context
On 3/4/24 11:09, Hans Hagen via ntg-context wrote: > [...] > in luametatex we have a bit more advanced mechanism (also relates to > compact mode) because th eengine is a bit more clever > > just make sure that you don't add up features where one calcels the > other, so use f

[NTG-context] Re: issue mixing font features (LMTX & MkIV)

2024-03-04 Thread Hans Hagen via ntg-context
wider feature in all fonts). This began to behave differently in latest from 2024.01.08 11:23 (which is my next version after the one from 2023.09.26 18:19). Could anyone confirm the issue? accumulating these effects is dependent on how the features that you use are defined in luametatex we

[NTG-context] Re: missing metadata in LMTX

2024-03-03 Thread Pablo Rodriguez via ntg-context
On 3/4/24 01:18, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 03.03.2024 um 20:02: >> [...] >> With LuaTeX, I get PDF metadata. With LuaMetaTeX, I cannot get them. >> [...] > I can confirm the issue and it happens because Hans changed t

[NTG-context] Re: missing metadata in LMTX

2024-03-03 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 03.03.2024 um 20:02: Dear list, this issue has been bugging me for some time: [...] With LuaTeX, I get PDF metadata. With LuaMetaTeX, I cannot get them. For both, I’m using current latest (from 2024.02.27 09:21). Could anyone confirm the issue

[NTG-context] missing metadata in LMTX

2024-03-03 Thread Pablo Rodriguez via ntg-context
[state=start] \xmlprocessbuffer{main}{demo}{} \stoptext With LuaTeX, I get PDF metadata. With LuaMetaTeX, I cannot get them. For both, I’m using current latest (from 2024.02.27 09:21). Could anyone confirm the issue or explain me what I am missing? Many thanks for your help, Pablo

[NTG-context] Re: Japanese

2024-03-01 Thread Henning Hraban Ramm
Am 01.03.24 um 16:23 schrieb Emanuel Han via ntg-context: I made manual corrections to scrp-cjk.lua, but with no effect to the ConTeXt output of my example. Do I have to recompile ConTeXt first? Not compile the engine (luametatex), but re-make the ConTeXt format with context --make

[NTG-context] Re: FreeBSD 13.2

2024-02-26 Thread Roger Mason
Hello, Henning Hraban Ramm writes: > > I guess you’re lacking the main distribution package. > > My installation (tree -dL 4, partly shortened): > > . > ├── bin (installation only) > └── tex > ├── texmf-cache (necessary, but auto-created?) >

[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Henning Hraban Ramm
Am 25.02.24 um 20:24 schrieb Roger Mason: Hello Hraban, Henning Hraban Ramm writes: Am 25.02.24 um 17:08 schrieb Roger Mason: Do I need mtxrun? If so, where are the sources and how do I build it? Yes, you need it, but it’s just an alias to luametatex: ~/context/tex/texmf-osx-64/bin

[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Roger Mason
Hello Hraban, Henning Hraban Ramm writes: > Am 25.02.24 um 17:08 schrieb Roger Mason: >> Do I need mtxrun? If so, where are the sources and how do I build >> it? > > Yes, you need it, but it’s just an alias to luametatex: > > ~/context/tex/texmf-osx-64/bin $ ll &

[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Henning Hraban Ramm
Am 25.02.24 um 17:08 schrieb Roger Mason: I see that the build does not provide the mtxrun binary that the installer uses. Does that mean I dont need mtxrun? Do I need mtxrun? If so, where are the sources and how do I build it? Yes, you need it, but it’s just an alias to luametatex

[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Roger Mason
t; >> You can find the binaries here: >> https://build.contextgarden.net/dl/luametatex/ >> >> but I hope that Hans will rebuild the installer in order to make the >> older systems functional again. >> >> Other than that, building luametatex is relatively str

[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Roger Mason
ntextgarden.net/dl/luametatex/ > > but I hope that Hans will rebuild the installer in order to make the > older systems functional again. > > Other than that, building luametatex is relatively straightforward with CMake. > The sources can be found either inside ConTeXt or separa

[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Hans Hagen
u can find the binaries here: https://build.contextgarden.net/dl/luametatex/ but I hope that Hans will rebuild the installer in order to make the older systems functional again. Other than that, building luametatex is relatively straightforward with CMake. The sources can be found either insi

[NTG-context] Re: FreeBSD 13.2

2024-02-24 Thread Mojca Miklavec
un is compiled for FreeBSD 14.0. There were some troubles with our infrastructure which led Hans to build the binaries himself without paying extra attention to compatibility with older systems. You can find the binaries here: https://build.contextgarden.net/dl/luametatex/ but I hope that Hans will

[NTG-context] Re: FreeBSD 13.2

2024-02-24 Thread Henning Hraban Ramm
eeBSD 13.2 binaries back to the project, if someone will tell me how. Yes, we need to document it in the wiki… But it’s easy: cd into your tex/texmf-context/source/luametatex and run build.sh then copy the "luametatex" binary from build/native into tex

[NTG-context] Re: Sorry for once more asking, i am at Work

2024-02-20 Thread Pablo Rodriguez via ntg-context
2023). In ConTeXt terms, this is almost ancient (»uralt«). ConTeXt MkII used pdfTeX as engine. In MkIV, the engine is LuaTeX. The latest engine is LuaMetaTeX for what is named either LMTX or MkXL. The format file is for pdfLaTeX, so ConTeXt cannot really do anything with it. It is consistent that

[NTG-context] Re: Best way to input UTF-8

2024-02-18 Thread 黄复雄
I recommend you to always show missing font markers in PDF documents with \replacemissingcharacters On Mon, Feb 19, 2024 at 12:46 AM Shiv Shankar Dayal wrote: > > Hi all, > > What is the best way to input UTF-8 in LuaMetaTex? If I use the UTF-8 > characters then do not c

[NTG-context] Re: New upload doesn't work on macOS 10.13.6

2024-02-18 Thread Mojca Miklavec
o Hans built the binaries on a (too) recent macOS version. A binary built on an older version can be found here: https://build.contextgarden.net/dl/luametatex/main/x86_64-darwinlegacy/luametatex but you would need to remove some flag first, else the security system won't let you start it (

[NTG-context] Re: Best way to input UTF-8

2024-02-18 Thread Marco Patzer
On Sun, 18 Feb 2024 22:12:25 +0530 Shiv Shankar Dayal wrote: > What is the best way to input UTF-8 in LuaMetaTex? “Best” is subjective. What might be a good way for me might not be your preferred way. LuaMetaTex doesn't care at all *how* you input the characters into your text edi

[NTG-context] Best way to input UTF-8

2024-02-18 Thread Shiv Shankar Dayal
Hi all, What is the best way to input UTF-8 in LuaMetaTex? If I use the UTF-8 characters then do not come out in text with Modern font. -- Respect, Shiv Shankar Dayal ___ If your question is of interest to others

[NTG-context] Re: Memory consumption in new upload

2024-02-17 Thread Hans Hagen
s a bit less consuming) on the one hand luametatex is more efficient than luatex due to all kind of ímprovements' but some nodes are larger so that takes more memory, which is only noticed when one has lots of text on a page (or keeps boxes stuff around)

[NTG-context] Re: Memory consumption in new upload

2024-02-17 Thread Shiv Shankar Dayal
curious about what has changed in recent upload, that memory >> > consumption is about 60% of earlier versions. >> it's hard to tell what exact consumpiton is becaue for instance when lua >> creates tables, they grow by factors two when then have to (maybe 5.5 is >> a

[NTG-context] Re: Memory consumption in new upload

2024-02-17 Thread Shiv Shankar Dayal
what has changed in recent upload, that memory > > consumption is about 60% of earlier versions. > it's hard to tell what exact consumpiton is becaue for instance when lua > creates tables, they grow by factors two when then have to (maybe 5.5 is > a bit less consuming) > > on

[NTG-context] Re: Memory consumption in new upload

2024-02-17 Thread Hans Hagen
to tell what exact consumpiton is becaue for instance when lua creates tables, they grow by factors two when then have to (maybe 5.5 is a bit less consuming) on the one hand luametatex is more efficient than luatex due to all kind of ímprovements' but some nodes are larger so that takes more memory

[NTG-context] Re: upload

2024-02-15 Thread Hans Hagen
one restriction (was already announced a while ago): hm, I don't see lua 5.5 around ... perhaps Lua 5.4.5 ? it's beta stuff but luametatex is an good test for it as it used a lot of lua so it's s way to pay back for using lua Hans

[NTG-context] Re: An announcement of my new book.

2024-02-14 Thread Joaquín Ataz López
and utilize the underlying engine itself (the low level LuaMetaTeX), how to even use DocBook with ConTeXt, etc. (I do realize that there already are manuals for lua in ConTeXt and on LuaMetaTeX, etc., and manuals on various different parts of ConTeXt, and I'll certainly be learning from them

[NTG-context] Re: Fwd: Re: Context lmtx for 32bit under LUBUNTU 18.04

2024-02-14 Thread Hans Hagen
use luametatex anyway). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl

[NTG-context] Fwd: Re: Context lmtx for 32bit under LUBUNTU 18.04

2024-02-14 Thread Henning Hraban Ramm
An: Henning Hraban Ramm Dear Henning, --- Your instructions: PWD=`pwd` cd tex/texmf-context/source/luametatex sh build.sh cp build/native/luametatex "$PWD/tex/texmf-linux/bin/" cd "$PWD" --- My actions: I created a 'context' folder in my home/alain

[NTG-context] Fwd: Re: Context lmtx for 32bit under LUBUNTU 18.04

2024-02-13 Thread Alain Delmotte
it? But if this a too complicate problem, I'll stand with the TeX Live Context. Just compile it yourself. In your installation root (where install.sh is): PWD=`pwd` cd tex/texmf-context/source/luametatex sh build.sh cp build/native/luametatex "$PWD/tex/texmf-linux/bin/" cd "$PWD"

[NTG-context] Re: Context lmtx for 32bit under LUBUNTU 18.04

2024-02-13 Thread Henning Hraban Ramm
it? But if this a too complicate problem, I'll stand with the TeX Live Context. Just compile it yourself. In your installation root (where install.sh is): PWD=`pwd` cd tex/texmf-context/source/luametatex sh build.sh cp build/native/luametatex "$PWD/tex/texmf-linux/bin/" cd "

[NTG-context] An announcement of my new book.

2024-02-11 Thread SirColeman via ntg-context
how to program it using lua, how to understand and utilize the underlying engine itself (the low level LuaMetaTeX), how to even use DocBook with ConTeXt, etc. (I do realize that there already are manuals for lua in ConTeXt and on LuaMetaTeX, etc., and manuals on various different parts of ConTeXt

[NTG-context] Re: Suggestions and problems of the manuals

2024-01-26 Thread Wolfgang Schuster
2. The section "Script kerning" (line 127 -- 203) in math-features.tex descibes the \mathscriptboxmode primitive which was removed in Luametatex. Wolfgang ___ If your question is of interest to others as

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread Shiv Shankar Dayal
on. Rephrasing the question, can > > LuaMetaTeX/ConTeXt compile > > plain TeX files. If yes, how can I do that? > > You mix up two different things here. > > 1. Plain TeX is a collection of TeX macros like ConTeXt or LaTeX. > > 2. LuaMetaTeX is a program like pdfTeX or Lu

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 24.01.2024 um 16:37: For example: \kern, \parindent and so on. Rephrasing the question, can LuaMetaTeX/ConTeXt compile plain TeX files. If yes, how can I do that? You mix up two different things here. 1. Plain TeX is a collection of TeX macros like ConTeXt

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread Shiv Shankar Dayal
For example: \kern, \parindent and so on. Rephrasing the question, can LuaMetaTeX/ConTeXt compile plain TeX files. If yes, how can I do that? On Wed, Jan 24, 2024 at 9:02 PM Hans Hagen wrote: > On 1/24/2024 2:55 PM, Shiv Shankar Dayal wrote: > > Dear List, > > > > Can we u

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread Hans Hagen
On 1/24/2024 2:55 PM, Shiv Shankar Dayal wrote: Dear List, Can we use plain TeX commands which are available in LuaMetaTeX in an arbitrary manner or are there any restrictions? what do you mean with arbitrary plain tex commands

[NTG-context] Using plain TeX commands in ConTeXt

2024-01-24 Thread Shiv Shankar Dayal
Dear List, Can we use plain TeX commands which are available in LuaMetaTeX in an arbitrary manner or are there any restrictions? -- Respect, Shiv Shankar Dayal ___ If your question is of interest to others as well

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-24 Thread Shiv Shankar Dayal
*Gesendet:* Dienstag, 16. Jänner 2024 13:42 > *An:* mailing list for ConTeXt users > *Betreff:* [NTG-context] Re: After Compiling the Context test, there was > no PDF. > > > > I just updated my ConTeXt distribution and it is working fine for me. > > > > Try proces

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-24 Thread Ursula Hermann
lto:shivshankar.da...@gmail.com>> wrote: Please paste line no. 238 of your input file. On Tue, Jan 16, 2024 at 4:11 PM Ursula Hermann mailto:ursula.herm...@univie.ac.at>> wrote: Dear List, After Compiling in the Folder: This is LuaMetaTeX, Version 2.10.11 initex (C:/Users/Herman

[NTG-context] Re: OpenBSD install failed

2024-01-23 Thread Damien Thiriet via ntg-context
tall the binaries and compile the basic test doc with \input tufte Thanks a lot! Dear Hraban, Did you try to compile your own binaries? You need CMake and a C compiler. PWD = your installation directory PLATFORM = openbsd7.4-amd64 (if that’s still right) cd $PWD/tex/texmf-context/source/luame

[NTG-context] Re: OpenBSD install failed

2024-01-22 Thread Henning Hraban Ramm
-openbsd7.4-amd64/ Did you try to compile your own binaries? You need CMake and a C compiler. PWD = your installation directory PLATFORM = openbsd7.4-amd64 (if that’s still right) cd $PWD/tex/texmf-context/source/luametatex sh build.sh cp build/native/luametatex "$PWD/tex/texmf-$PLATFOR

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-22 Thread Shiv Shankar Dayal
t; \input knuth > \stoptext > > > > On Tue, Jan 16, 2024 at 5:30 PM luigi scarso > wrote: > > > > > > On Tue, 16 Jan 2024 at 12:49, Shiv Shankar Dayal < > shivshankar.da...@gmail.com> wrote: > > Please paste line no. 238 of your input file.

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-22 Thread Ursula Hermann
9, Shiv Shankar Dayal mailto:shivshankar.da...@gmail.com>> wrote: Please paste line no. 238 of your input file. On Tue, Jan 16, 2024 at 4:11 PM Ursula Hermann mailto:ursula.herm...@univie.ac.at>> wrote: Dear List, After Compiling in the Folder: This is LuaMetaTeX, Version 2.10.11 initex (C:

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-22 Thread Ursula Hermann
al mailto:shivshankar.da...@gmail.com>> wrote: Please paste line no. 238 of your input file. On Tue, Jan 16, 2024 at 4:11 PM Ursula Hermann mailto:ursula.herm...@univie.ac.at>> wrote: Dear List, After Compiling in the Folder: This is LuaMetaTeX, Version 2.10.11 initex (C:/Users/Her

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Hans Hagen
On 1/19/2024 7:13 PM, Bruce Horrocks wrote: On 19 Jan 2024, at 09:31, Hans Hagen wrote: On 1/18/2024 11:15 PM, Bruce Horrocks wrote: On 18 Jan 2024, at 18:56, Shiv Shankar Dayal wrote: I understand that why it is slow, but the problem is that the difference is too high. My book has

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Bruce Horrocks
> On 19 Jan 2024, at 09:31, Hans Hagen wrote: > > On 1/18/2024 11:15 PM, Bruce Horrocks wrote: >> On 18 Jan 2024, at 18:56, Shiv Shankar Dayal >> wrote: >>> >>> I understand that why it is slow, but the problem is that the difference is >>> too high. >>> My book has lots of math, so

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Hans Hagen
On 1/19/2024 11:00 AM, Henning Hraban Ramm wrote: Am 19.01.24 um 10:31 schrieb Hans Hagen: (that said: luametatex runs fine on my mobile phone) What’s the smallest/oldest device someone tried LMTX on? (We were joking about “Hans’ thermostate and Alan’s fridge“…) Would it run on some 8 bit

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Taco Hoekwater
> On 19 Jan 2024, at 11:00, Henning Hraban Ramm wrote: > > Am 19.01.24 um 10:31 schrieb Hans Hagen: >> (that said: luametatex runs fine on my mobile phone) > > What’s the smallest/oldest device someone tried LMTX on? > (We were joking about “Hans’ thermostate and

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Henning Hraban Ramm
Am 19.01.24 um 10:31 schrieb Hans Hagen: (that said: luametatex runs fine on my mobile phone) What’s the smallest/oldest device someone tried LMTX on? (We were joking about “Hans’ thermostate and Alan’s fridge“…) Would it run on some 8 bit homecomputer? (I’d guess the RAM is too limited

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Hans Hagen
because the ages of dohbling performance every year are past. There are several factors that impact performance: tex engine : quite a bit faster in luametatex mp engine : quite a bit faster in luametatex lua engine : not much we can do about but inefficient macros and usage can offset any gain

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Henri Menke via ntg-context
On Fri, 2024-01-19 at 13:56 +0530, Shiv Shankar Dayal wrote: > Dear Hans, > > I saw the C code of LuaMetaTeX and I saw a lot of gotos which is not > good > coding practice. These potions of code which have goto should be > refactored. https://xkcd.com/292/ > I am a C progra

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Hans Hagen
On 1/19/2024 9:31 AM, Shiv Shankar Dayal wrote: I see code like # define luametatex_version          210 # define luametatex_revision         10 # define luametatex_release          10 # define luametatex_version_string   "2.10.10" starting with C99 these become unnecessary. Rather they should

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Hans Hagen
On 1/19/2024 9:26 AM, Shiv Shankar Dayal wrote: Dear Hans, I saw the C code of LuaMetaTeX and I saw a lot of gotos which is not good coding practice. These potions of code which have goto should be refactored. I am a C programmer, but I know very little of TeX. If you can point me towards

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Hans Hagen
On 1/19/2024 1:33 AM, Aditya Mahajan wrote: \starttext \dorecurse{5000}{\ReadFile{knuth}} \stoptext I'll send you the PDFs offlist. lmtx defaults to 'modern' so you need to \setupbodyfont[modern] for mkiv Hans -

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Shiv Shankar Dayal
uot;; > > > > These ensure type-safety in the code and are good coding practice. > > > > On Fri, Jan 19, 2024 at 1:56 PM Shiv Shankar Dayal < > shivshankar.da...@gmail.com> wrote: > > Dear Hans, > > > > I saw the C code of LuaMetaTeX and I saw a lot of

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Taco Hoekwater
rsion_string="2.10.10"; > > These ensure type-safety in the code and are good coding practice. > > On Fri, Jan 19, 2024 at 1:56 PM Shiv Shankar Dayal > wrote: > Dear Hans, > > I saw the C code of LuaMetaTeX and I saw a lot of gotos which is not good > coding

[NTG-context] Re: LuaMetaTeX code

2024-01-19 Thread Shiv Shankar Dayal
210; const char* luametatex_version_string="2.10.10"; These ensure type-safety in the code and are good coding practice. On Fri, Jan 19, 2024 at 1:56 PM Shiv Shankar Dayal < shivshankar.da...@gmail.com> wrote: > Dear Hans, > > I saw the C code of LuaMetaTeX and I saw a lot

[NTG-context] LuaMetaTeX code

2024-01-19 Thread Shiv Shankar Dayal
Dear Hans, I saw the C code of LuaMetaTeX and I saw a lot of gotos which is not good coding practice. These potions of code which have goto should be refactored. I am a C programmer, but I know very little of TeX. If you can point me towards where should I start for TeX(perhaps TeX Book or TeX

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Aditya Mahajan
On Fri, 19 Jan 2024, Hans Hagen via ntg-context wrote: > On 1/19/2024 12:34 AM, Aditya Mahajan wrote: > > On Thu, 18 Jan 2024, Hans Hagen wrote: > > > >> Of course we'll never be as fast as (pure) plain tex (no layers added) or > >> latex (which often is advocated as faster than context). > > >

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Hans Hagen via ntg-context
On 1/19/2024 12:34 AM, Aditya Mahajan wrote: On Thu, 18 Jan 2024, Hans Hagen wrote: Of course we'll never be as fast as (pure) plain tex (no layers added) or latex (which often is advocated as faster than context). I was curious, so did a quick experiment: typeset \input knuth 500 times.

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Aditya Mahajan
On Thu, 18 Jan 2024, Hans Hagen wrote: > Of course we'll never be as fast as (pure) plain tex (no layers added) or > latex (which often is advocated as faster than context). I was curious, so did a quick experiment: typeset \input knuth 500 times. Here are the results: pdflatex: 547 pages/sec

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Bruce Horrocks
On 18 Jan 2024, at 18:56, Shiv Shankar Dayal wrote: > > I understand that why it is slow, but the problem is that the difference is > too high. > My book has lots of math, so perhaps that is the reason. Option 1: Buy or borrow a faster computer. You'll get your desired speed-up far faster

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Joseph Wright
On 18/01/2024 20:55, Gavin via ntg-context wrote: That’s fast enough for me. That's surely the key statement - 'fast' here is a personal thing, and 40 pages a second is fast enough for many people. It's certainly fast when you look at what LuaMetaTeX is doing, as Hans has said. Joseph

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Gavin via ntg-context
ok in almost an instant using PDFTeX which is about 450+ > pages but my math book takes around 30 seconds averaging ~40 pages/second. > > Why LuaMetaTeX is so slow? How can I speed it up? > -- > Re

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Hans Hagen
On 1/18/2024 7:56 PM, Shiv Shankar Dayal wrote: In comparison to LaTeX with LuaHBTeX, ConTeXt with LuaMetaTeX is lightning fast. pdfTeX is 8bit, and Knuth’s plain TeX is very low level – for a fairer comparison, try the TeXbook on LuaMetaTeX (I don’t know if “plain” works

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Mikael Sundqvist
Hi, On Thu, Jan 18, 2024 at 7:58 PM Shiv Shankar Dayal wrote: > > > > >> In comparison to LaTeX with LuaHBTeX, ConTeXt with LuaMetaTeX is >> lightning fast. >> >> pdfTeX is 8bit, and Knuth’s plain TeX is very low level – for a fairer >> comparison, t

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Shiv Shankar Dayal
In comparison to LaTeX with LuaHBTeX, ConTeXt with LuaMetaTeX is > lightning fast. > > pdfTeX is 8bit, and Knuth’s plain TeX is very low level – for a fairer > comparison, try the TeXbook on LuaMetaTeX (I don’t know if “plain” works > though). > I understand that why it is slo

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Henning Hraban Ramm
that “The TeXbook” (having been written by Knuth himself) may be optimized for speed. Your math book may use features (I’m guessing again) that require more resources than the features used by “The TeXbook”. Why LuaMetaTeX is so slow? How can I speed it up? https://www.pragma-ade.com/general

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Pablo Rodriguez via ntg-context
self) may be optimized for speed. Your math book may use features (I’m guessing again) that require more resources than the features used by “The TeXbook”. > Why LuaMetaTeX is so slow? How can I speed it up? https://www.pragma-ade.com/general/manuals/musings.pdf#page=96 might explain why

[NTG-context] Why LuaMetaTex is so slow?

2024-01-18 Thread Shiv Shankar Dayal
I can process TeXBook in almost an instant using PDFTeX which is about 450+ pages but my math book takes around 30 seconds averaging ~40 pages/second. Why LuaMetaTeX is so slow? How can I speed it up? -- Respect, Shiv Shankar Dayal

[NTG-context] Re: How to obtain older versions of LMTX?

2024-01-17 Thread Otared Kavian
wrote: >> >> Hi Gavin, >> >> Thanks for your reply. Does TeX Live contain LuaMetaTeX (LMTX)? >> That is because I need LMTX to typeset a presentation for which most of the >> content is ready, but using features from LMTX… >> >> Best regards: Otared

[NTG-context] Re: How to obtain older versions of LMTX?

2024-01-17 Thread Otared Kavian
Thanks for your reply. Does TeX Live contain LuaMetaTeX (LMTX)? >> That is because I need LMTX to typeset a presentation for which most of the >> content is ready, but using features from LMTX… > You can try to fetch > > https://github.com/contextgarden/context > > as

[NTG-context] Re: How to obtain older versions of LMTX?

2024-01-17 Thread Gavin via ntg-context
Hi Otared, Yes, it contains LMTX. I am using TeX Live 2023 right now for a project, and it reports "ConTeXt ver: 2023.05.05 18:36 LMTX”. Gavin > On Jan 17, 2024, at 3:13 PM, Otared Kavian wrote: > > Hi Gavin, > > Thanks for your reply. Does TeX Live cont

[NTG-context] Re: How to obtain older versions of LMTX?

2024-01-17 Thread Hans Hagen
On 1/17/2024 11:13 PM, Otared Kavian wrote: Hi Gavin, Thanks for your reply. Does TeX Live contain LuaMetaTeX (LMTX)? That is because I need LMTX to typeset a presentation for which most of the content is ready, but using features from LMTX… You can try to fetch https://github.com

[NTG-context] Re: How to obtain older versions of LMTX?

2024-01-17 Thread Otared Kavian
Hi Gavin, Thanks for your reply. Does TeX Live contain LuaMetaTeX (LMTX)? That is because I need LMTX to typeset a presentation for which most of the content is ready, but using features from LMTX… Best regards: Otared > On 17 Jan 2024, at 23:01, Gavin via ntg-context wrote: > >

[NTG-context] Suggestions and problems of the manuals

2024-01-17 Thread Gerion Entrup
mkiv lua stats > used cache path: /home/gerion/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e mkiv lua stats > resource resolver: loadtime 0.003 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 15 found files, scanned paths:

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-16 Thread Ursula Hermann
Please paste line no. 238 of your input file. On Tue, Jan 16, 2024 at 4:11 PM Ursula Hermann mailto:ursula.herm...@univie.ac.at>> wrote: Dear List, After Compiling in the Folder: This is LuaMetaTeX, Version 2.10.11 initex (C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/cont

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-16 Thread Shiv Shankar Dayal
mail.com> wrote: > >> Please paste line no. 238 of your input file. >> >> On Tue, Jan 16, 2024 at 4:11 PM Ursula Hermann < >> ursula.herm...@univie.ac.at> wrote: >> >>> Dear List, >>> >>> >>> >>> After Compiling in the

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-16 Thread luigi scarso
>> >> >> After Compiling in the Folder: >> >> >> >> This is LuaMetaTeX, Version 2.10.11 initex >> >> (C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont- >> en.mkxl(context.mkxl(syst-ini.mkxl >> ! Undefined contr

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-16 Thread Shiv Shankar Dayal
Please paste line no. 238 of your input file. On Tue, Jan 16, 2024 at 4:11 PM Ursula Hermann wrote: > Dear List, > > > > After Compiling in the Folder: > > > > This is LuaMetaTeX, Version 2.10.11 initex > > (C:/Users/Hermann/Downloads/context-mswin/tex/texmf-c

[NTG-context] After Compiling the Context test, there was no PDF.

2024-01-16 Thread Ursula Hermann
Dear List, After Compiling in the Folder: This is LuaMetaTeX, Version 2.10.11 initex (C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont- en.mkxl(context.mkxl(syst-ini.mkxl ! Undefined control sequence. \immutable\defcsname\tocharacter \tabasciicode

[NTG-context] Wiki update

2024-01-16 Thread Taco Hoekwater
Hi all, I just updated the wiki ConTeXt to 20240108. The tag on the wiki by default uses luametatex (LMTX), but if you want luatex instead (MKIV), you can still do that by using . There have been some problems recently because Hans’ new binaries needed a newer version of various system

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread Henning Hraban Ramm
sent some sort of logical structure. I'm happy for it to be decorative, in which case fewer labels might be better. ConTeXt “wraps” the LuaMetaTeX binary, since it handles the input as well as the output. I wasn’t sure how to show what controls what. 5. Similar to the box structure comment is t

[NTG-context] Re: Chemnitz, Leipzig, Call for Poster

2024-01-11 Thread Fabrice L
; – overview of layout areas (I re-made Sietse’s drawing from the wiki for my > book) > - workflow diagrams > – parts of LuaMetaTeX > – artwork by Eçir Baff (art-aleatoire.com) > – Hans’ recent christmas card / memory game artwork > > But I don’t want just a wild collection of

[NTG-context] Re: Chemnitz, Leipzig, Call for Poster

2024-01-10 Thread Henning Hraban Ramm
card memory” patterns as a background (thanks, Hans!). I tried to sketch the relationship of Lua/TeX/MetaPost in LuaMetaTeX and ConTeXt LMTX around it, with different inputs and PDF/XML output – don’t know yet how to make this easily understandable… ConTeXt is interesting for people

[NTG-context] Re: Chemnitz, Leipzig, Call for Poster

2024-01-07 Thread Henning Hraban Ramm
and measures), maybe also in Arabic – dodo & cow drawings from Mikael’s math manual – overview of layout areas (I re-made Sietse’s drawing from the wiki for my book) - workflow diagrams – parts of LuaMetaTeX – artwork by Eçir Baff (art-aleatoire.com) – Hans’ recent christmas card / memory

[NTG-context] Re: Solaris 11 SPARC Support [SEC=OFFICIAL]

2024-01-05 Thread Hans Hagen via ntg-context
On 1/5/2024 12:54 AM, Michael Wigston via ntg-context wrote: Hi, Would you consider supporting Solaris 11 on SPARC? Alternatively if you could provide documentation how to build Context on "SunOS sun4v" hardware would also be beneficial. I have compiled luametatex, but getting b

[NTG-context] Solaris 11 SPARC Support [SEC=OFFICIAL]

2024-01-04 Thread Michael Wigston via ntg-context
Hi, Would you consider supporting Solaris 11 on SPARC? Alternatively if you could provide documentation how to build Context on "SunOS sun4v" hardware would also be beneficial. I have compiled luametatex, but getting below error when trying to create cache an

  1   2   3   4   5   6   7   8   9   10   >